<template>
	<view class="ghpay">
		<!-- 头部 -->
		<view class="ghinfo_title">
			<view class="title_top">
				<image src="@/static/my/qryes_a.png"></image>
				<view class="font18 font-ffffff">支付成功</view>
			</view>
			<view class="font15 font-ffffff">住院押金可直接用于住院费扣除,押金余额出院可退</view>
		</view>
		<!-- 就诊信息 -->
		<view class="gh_title font-323232 font18 font-b">住院信息</view>
		<view class="gh_info font-9c9c9d font15">
			<text>住院人</text>
			<view>熊二</view>
		</view>
		<view class="gh_info font-9c9c9d font15">
			<text>住院号</text>
			<view>5265656</view>
		</view>
		<view class="gh_info font-9c9c9d font15">
			<text>医生姓名</text>
			<view>李冬梅</view>
		</view>
		<view class="gh_info font-9c9c9d font15">
			<text>科室名称</text>
			<view>神经内科</view>
		</view>
		<view class="gh_info font-9c9c9d font15">
			<text>病区</text>
			<view>1病区</view>
		</view>
		<view class="gh_info font-9c9c9d font15">
			<text>床位</text>
			<view>1床</view>
		</view>
		<view class="gh_info font-9c9c9d font15">
			<text>押金余额</text>
			<view>￥500.65</view>
		</view>
		<!-- 边框 -->
		<view class="com_border margin_top"></view>
		<!-- 缴费详情 -->
		<view class="gh_title font-323232 font18 font-b">支付详情</view>
		<view class="gh_info font-9c9c9d font15">
			<text>支付金额</text>
			<view class="font-323232 font18 font-b">￥12</view>
		</view>
		<view class="gh_info font-9c9c9d font15">
			<text>订单创建时间</text>
			<view>2020-11-02 11:14:26</view>
		</view>
		<view class="gh_info font-9c9c9d font15">
			<text>支付时间</text>
			<view>2020-11-02 11:14:26</view>
		</view>
		<view class="gh_info font-9c9c9d font15">
			<text>订单状态</text>
			<view>缴费成功</view>
		</view>
		<view class="gh_info font-9c9c9d font15">
			<text>微信订单号</text>
			<view>4564564564564165415616516</view>
		</view>
		<view class="gh_info font-9c9c9d font15">
			<text>平台订单号</text>
			<view>15156156156151</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {

			}
		},
		onLoad: function(options) {
			uni.setNavigationBarColor({
				frontColor: '#ffffff', // 必写项
				backgroundColor: '#6bcbb6', // 必写项
			})
		},
		methods: {
			//返回首页
			Onhome() {
				wx.switchTab({
					url: '/pages/home/index/index',
				})
			},
		}
	}
</script>

<style>
	.ghpay {
		padding-bottom: 150rpx;
	}

	/* 头部 */
	.ghinfo_title {
		padding: 56rpx 25rpx 38rpx 25rpx;
		background-color: #6bcbb6;
	}

	.title_top {
		display: flex;
		align-items: center;
		margin-bottom: 40rpx;
	}

	.title_top image {
		height: 60rpx;
		width: 60rpx;
		margin-right: 20rpx;
	}

	/* 条码 */
	.barcode {
		padding: 38rpx 25rpx;
	}

	.barcode image {
		width: 700rpx;
		height: 130rpx;
		margin-top: 30rpx;
		margin-bottom: 10rpx;
		border: 1rpx solid #6bcbb6;
	}

	.barcode view {
		text-align: center;
	}

	/* 就诊信息 */
	.gh_title {
		margin-top: 30rpx;
		padding-left: 25rpx;
	}

	.gh_info {
		display: flex;
		justify-content: space-between;
		width: 750rpx;
		padding: 0 25rpx;
		margin-top: 30rpx;
	}

	.gh_info view {
		width: 520rpx;
		text-align: right;
	}

	.margin_top {
		margin-top: 30rpx;
	}

	/* 取消订单 */
	.button_bos {
		width: 750rpx;
		height: 120rpx;
		position: fixed;
		bottom: 0;
		left: 0;
		background-color: #f9f9f9;
		display: flex;
		justify-content: space-between;
		align-items: center;
		padding: 0 50rpx;
	}

	.button_bos view {
		width: 300rpx;
		height: 80rpx;

		line-height: 80rpx;
		text-align: center;
	}

	.qx_button {
		background-color: #ffffff;
	}

	.qr_button {
		background-color: #6bcbb6;
		color: #ffffff;
	}

	/* 返回 */
	.return_button {
		width: 750rpx;
		height: 120rpx;
		position: fixed;
		bottom: 0;
		left: 0;
		background-color: #f9f9f9;
	}

	.return_button view {
		width: 650rpx;
		height: 80rpx;
		line-height: 80rpx;
		text-align: center;
		margin-left: 50rpx;
		margin-top: 20rpx;
		background-color: #ffffff;
	}
</style>
